package com.ytjj.qmyx.supplychain.service;

import com.ytjj.qmyx.supplychain.mapper.AdminLoginMapper;
import com.ytjj.qmyx.supplychain.mapper.entity.YxAdminLog;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class AdminLogService {
    @Resource
    private AdminLoginMapper adminLoginMapper;

    public boolean insertByBean(YxAdminLog adminLog) {
        return adminLoginMapper.insertSelective(adminLog) > 0 ? true : false;
    }
}
